package com.huitu.whht.base.core.api.wrem.plan.entities;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 应急事件调度方案处置细则基本信息表实体类,表名称: T_WHHT_WREM_PLAN_STEP_B <br/>
 * 日期: 2019-04-11
 * @author LiuCW
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WremPlanStepB extends  BaseEntity {

private static final long serialVersionUID = 4L;

    /**
      * 方案处置措施代码
      */
    private String stepId;
    /**
      * 方案代码
      */
    private String planId;
    /**
      * 处置措施类型
      */
    private String stepTp;
    /**
      * 负责人ID
      */
    private String respPersonId;
    /**
      * 负责单位名称
      */
    private String respOrgNm;
    /**
      * 处置措施计划开始时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime stepBgTm;
    /**
      * 处置措施计划结束时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime stepEdTm;
    /**
      * 处置措施实际开始时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime stepActualBgTm;
    /**
      * 处置措施实际结束时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime stepActualEdTm;
    /**
      * 具体说明
      */
    private String content;
    /**
      * 处置措施状态(0.未开始;1.进行中;2.已完成)
      */
    private String stepStatus;
    /**
      * 总结
      */
    private String summary;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime ts;
    /**
      * 标题
      */
    private String stepTitle;
}